<?php
/* @var $this BukutamuController */
/* @var $model Bukutamu */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'bukutamu-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>


<table border="0" cellpadding="0" cellspacing="0" id="id-form">
    
         <tr>
            <th valign="top"><?php echo $form->labelEx($model,'nama'); ?></th>
            <td class="idform">
               	<?php echo $form->textField($model,'nama',array('size'=>60,'maxlength'=>255)); ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('nama')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'nama', array('class' => 'error-inner')); ?>
            </td>
        </tr>
    
       <tr>
            <th valign="top"><?php echo $form->labelEx($model,'email'); ?></th>
            <td class="idform">
               	<?php echo $form->textField($model,'email',array('size'=>60,'maxlength'=>255)); ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('email')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'email', array('class' => 'error-inner')); ?>
            </td>
        </tr>
        
        
         <tr>
            <th valign="top"><?php echo $form->labelEx($model,'alamat'); ?></th>
            <td class="idform">
               	<?php echo $form->textArea($model,'alamat',array('rows'=>2, 'cols'=>50));//php echo $form->textField($model,'alamat',array('size'=>50,'maxlength'=>50)); ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('alamat')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'alamat', array('class' => 'error-inner')); ?>
            </td>
        </tr>
        
      
      
      
        <tr>
            <th valign="top"><?php echo $form->labelEx($model,'isi'); ?></th>
            <td class="idform">
               	<?php echo $form->textArea($model,'isi',array('rows'=>6, 'cols'=>50)); ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('isi')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'isi', array('class' => 'error-inner')); ?>
            </td>
        </tr>
        
             <tr>
            <th valign="top"><?php echo $form->labelEx($model,'jawaban'); ?></th>
            <td class="idform">
               	<?php echo $form->textArea($model,'jawaban',array('rows'=>6, 'cols'=>50)); ?>
            </td>
            <td class="idform">
                <?php if ($model->hasErrors('jawaban')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'jawaban', array('class' => 'error-inner')); ?>
            </td>
        </tr>
        <tr>
    <td valign="top">
        <div class="tamuisianlabel"><b>    <?php echo $form->labelEx($model, 'status'); ?></b></div>
    </td>
      <td valign="top">    <?php echo $form->radioButtonList($model, 'status',
        array(0 => 'Non Aktif', 1 => 'Aktif')); ?></td>
         <td class="idform">
                <?php if ($model->hasErrors('status')) echo "<div class='error-left'></div>"; ?>
                <?php echo $form->error($model, 'status', array('class' => 'error-inner')); ?>
            </td>
</tr>
      <tr>
            <th>&nbsp;</th>
            <td valign="top">
               <?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
            </td>
            <td class="idform"></td>
        </tr>
</table>


<!--	<div class="row">
		<?//php echo $form->labelEx($model,'nama'); ?>
		<?//php echo $form->textField($model,'nama',array('size'=>60,'maxlength'=>225)); ?>
		<?//php echo $form->error($model,'nama'); ?>
	</div>

	<div class="row">
		<?//php echo $form->labelEx($model,'email'); ?>
		<?//php echo $form->textField($model,'email',array('size'=>60,'maxlength'=>225)); ?>
		<?//php echo $form->error($model,'email'); ?>
	</div>

	<div class="row">
		<?//php echo $form->labelEx($model,'alamat'); ?>
		<?//php echo $form->textField($model,'alamat',array('size'=>50,'maxlength'=>50)); ?>
		<?//php echo $form->error($model,'alamat'); ?>
	</div>

	<div class="row">
		<?//php echo $form->labelEx($model,'isi'); ?>
		<?//php echo $form->textArea($model,'isi',array('rows'=>6, 'cols'=>50)); ?>
		<?//php echo $form->error($model,'isi'); ?>
	</div>

	<div class="row">
		<?//php echo $form->labelEx($model,'jawaban'); ?>
		<?//php echo $form->textArea($model,'jawaban',array('rows'=>6, 'cols'=>50)); ?>
		<?//php echo $form->error($model,'jawaban'); ?>
	</div>

	<div class="row">
		<?//php echo $form->labelEx($model,'tgl_create'); ?>
		<?//php echo $form->textField($model,'tgl_create'); ?>
		<?//php echo $form->error($model,'tgl_create'); ?>
	</div>

	<div class="row">
		<?//php echo $form->labelEx($model,'status'); ?>
		<?//php echo $form->textField($model,'status',array('size'=>1,'maxlength'=>1)); ?>
		<?//php echo $form->error($model,'status'); ?>
	</div>

	<div class="row">
		<?//php echo $form->labelEx($model,'ip_guest'); ?>
		<?//php echo $form->textField($model,'ip_guest',array('size'=>40,'maxlength'=>40)); ?>
		<?//php echo $form->error($model,'ip_guest'); ?>
	</div>

	<div class="row buttons">
		<?//php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>-->

<?php $this->endWidget(); ?>

</div><!-- form -->